@extends('public')
@section('content')
<body>

<div class="position_w">
    <div class="position">
        当前位置： <a href="{{url('/')}}">首页</a> &gt; <a href="{{url('article/newslist')}}">资讯</a>
    </div>
</div>

<div class="wrap">
    <div class="new_box">

        <div class="new_list">
            <ul>
                @foreach($list as $k=>$v)
                <li>
                    <div class="t_name"><a href="{{url('article/news/'.$v->id)}}">{{$v->title}}！</a></div>
                    <div class="time">{{$v->created_at}}</div>
                    <div class="txt">
                       {{$v->subtitle}}
                    </div>
                </li>
                @endforeach
            </ul>
        </div>

        <div class="page">
            @if ($list->hasPages())
                <div class="pager">
                    {!! $list->appends($appends)->render() !!}
                </div>
            @endif
        </div>

    </div>

</div>
@stop